﻿using System.Collections.Generic;

namespace Zocono.WCS.Admin.Models.WorkTaskManager
{
    public class TaskProcessStateItem
    {
        public string TaskProcessStateName { get; set; }
        public string TaskProcessStateCode { get; set; }
        public int TaskProcessStateValue { get; set; }

        public readonly static List<TaskProcessStateItem> TaskProcessStateDatasource = new List<TaskProcessStateItem>()
        {
            new TaskProcessStateItem(){ TaskProcessStateCode="请选择", TaskProcessStateName="请选择", TaskProcessStateValue = -1},
            new TaskProcessStateItem(){ TaskProcessStateCode="Initial", TaskProcessStateName="初始状态", TaskProcessStateValue = 0},
            new TaskProcessStateItem(){ TaskProcessStateCode="ReAllotAisle", TaskProcessStateName="巷道重分配", TaskProcessStateValue = 1},
            new TaskProcessStateItem(){ TaskProcessStateCode="AllotLocation", TaskProcessStateName="货位分配", TaskProcessStateValue = 2},
            new TaskProcessStateItem(){ TaskProcessStateCode="ReAllotLocation", TaskProcessStateName="货位重分配", TaskProcessStateValue = 3},
            new TaskProcessStateItem(){ TaskProcessStateCode="ScUnloaded", TaskProcessStateName="堆垛机放料动作完成", TaskProcessStateValue = 4},
            new TaskProcessStateItem(){ TaskProcessStateCode="PlanerCompleted", TaskProcessStateName="到达目标位完成", TaskProcessStateValue = 5},
            new TaskProcessStateItem(){ TaskProcessStateCode="ErrorOccupied", TaskProcessStateName="卸载占位异常", TaskProcessStateValue = 10},
            new TaskProcessStateItem(){ TaskProcessStateCode="ErrorUnloadOutsideOccupied", TaskProcessStateName="卸载双升位外侧占位异常", TaskProcessStateValue = 11},
            new TaskProcessStateItem(){ TaskProcessStateCode="ErrorEmptyLoad", TaskProcessStateName="装载取空异常", TaskProcessStateValue = 12},
            new TaskProcessStateItem(){ TaskProcessStateCode="ErrorLoadOutsideOccupied", TaskProcessStateName="装载双深为外侧占位异常", TaskProcessStateValue = 13}
        };
    }
}
